package com.accp.entity;

public class Ch implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Integer id;
	private User user;
	private Integer bookid;
	private String chname;
	private Integer status;

	public Ch() {
	}

	public Ch(User user, Integer bookid, String chname, Integer status) {
		this.user = user;
		this.bookid = bookid;
		this.chname = chname;
		this.status = status;
	}
	public Ch(Integer id, User user, Integer bookid, String chname, Integer status) {
		this.id = id;
		this.user = user;
		this.bookid = bookid;
		this.chname = chname;
		this.status = status;
	}
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	public Integer getBookid() {
		return this.bookid;
	}

	public void setBookid(Integer bookid) {
		this.bookid = bookid;
	}
	public String getChname() {
		return this.chname;
	}

	public void setChname(String chname) {
		this.chname = chname;
	}
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
